package com.lingying.caiwudailikehudaun.controller.login;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class PCLoginController {

    @RequestMapping("/test")
    public String index() {
        return "login";
    }

    @RequestMapping("")
    public String redirect2() {
        String login_url = "http://kehu.yinggoo.com/index.html";
        return "redirect:http://kehu.yinggoo.com/login.html?login_url="+login_url;
    }
}
